<%@ Page Language="C#" MasterPageFile="~/Site.master" Theme="Default" EnableTheming="true"  
    AutoEventWireup="true" CodeFile="SendError.aspx.cs" Inherits="SendError" 
    Title="Dr. Yurttas' Office Library &mdash; Mail Failure" %>
<asp:Content ID="ContentAdmin" ContentPlaceHolderID="MasterContentAdmin" Runat="Server">
    <asp:LoginView ID="LoginViewAdmin" runat="server">
        <RoleGroups>
            <asp:RoleGroup Roles="admin">
                <ContentTemplate>
                    There's nothing to see here.
                </ContentTemplate>
            </asp:RoleGroup>
        </RoleGroups>
    </asp:LoginView>                       
</asp:Content>
<asp:Content ID="ContentUser" ContentPlaceHolderID="MasterContentUser" Runat="Server">
    <asp:LoginView ID="LoginViewUser" runat="server">
        <RoleGroups>
            <asp:RoleGroup Roles="user">
                <ContentTemplate>
                    There's nothing to see here.
                </ContentTemplate>
            </asp:RoleGroup>
        </RoleGroups>
    </asp:LoginView>                       
</asp:Content>
<asp:Content ID="ContentAnonymous" ContentPlaceHolderID="MasterContentAnonymous" Runat="Server">
    <asp:LoginView ID="LoginViewAnonymous" runat="server">
        <AnonymousTemplate>
            <div style="width: 500px; line-height: 150%; font-weight: normal; ">
            <div class="h1">Sylib encountered a problem while trying to process your request.</div>
            <br />
            Sylib could not send an email to the address supplied in your membership profile.  However it
            was about to reset your password to a random string.  This means your password is no longer
            recoverable. This may be caused by an improperly configured file on the server. It's also possible 
            your provided address
            is either invalid or unreachable.  To resolve this issue you should contact an administrator.<br />
            <br />
            Unfortunatly it is not possible to recover your password.
            In the mean time you can register another username to access the Sylib database.  An administrator
            can transfer any outstanding book requests to your new account and then delete your old account.
            </div>
        </AnonymousTemplate>
    </asp:LoginView>                       
</asp:Content>